package com.community.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("record")
@ApiModel(value="Record对象", description="")
public class RecordPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "导入记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "导入日期")
    private LocalDateTime importTime;

    @ApiModelProperty(value = "总计")
    private Long total;

    @ApiModelProperty(value = "成功数")
    private Long success;

    @ApiModelProperty(value = "失败数")
    private Long failing;


}
